<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0063)http://115.28.87.22:8888/business/BusinessBillListForClose.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>业务单结清 | 管理易-广告加工制作管理软件  企业版 9.28  | 易凯软件</title>
<script src="../js/minierp.js"></script>

<link rel="stylesheet" type="text/css" href="../css/base.css">
<link href="../css/Query.css" rel="stylesheet" type="text/css">
<script src="../js/QueryList.js"></script>
<script src="../js/popup_ext.js"></script>
<script language="javascript">
	function doShow(id){
		var url="../business/BusinessBillInfoForClose.html?id="+id;
		ShowIframe("业务单结清",url,900,500,"refreshWin()",1024,600);
	}
	function refreshWin(){
		if(popRetVal!=null){
			window.location.reload(true);
		}
	}
	function doClose(id){
		ShowConfirm('确认框','确定结清吗？',340,80,"doCloseCallBack('"+id+"')");
	}
	function doCloseCallBack(id){
		if(popRetVal!=null){
			var url="../business/BusinessBillClose.html?id_str="+id;
			ShowIframe("业务单结清",url,200,200,"refreshWin()");
		}
	}
	function doMutiClose(){
		var ob_arr = document.getElementsByName("query_checkbox");
		var str="";
		for (i=0;i<ob_arr.length;i++){
			if ((ob_arr[i].checked == true)){
				if(str!=""){
					str=str+";";
				}
				str = str+ob_arr[i].value;
			}
		}
		
		if(str!=""){
			doClose(str);
		}else{
			ShowAlert('提示框','请选择要结清的业务单',200,100);
		}
	}
	function doSearch(){
		var cost=document.getElementById("cost").value;
		var status=document.getElementById("status").value;
		var tsId=document.getElementById("ts_id").value;
		var searchKey=encodeURIComponent(document.getElementById("search_key").value.trim());
		var orderBy=document.getElementById("order_by").value;
		window.location="../business/BusinessBillListForClose.html?cost="+cost+"&search_key="+searchKey+"&ts_id="+tsId+"&status="+status+"&order_by="+orderBy;
	}
	function doGo(pageIndex){
		var searchKey=encodeURIComponent("");
		window.location="../business/BusinessBillListForClose.html?cost=NOT_ZERO&ts_id=1&status=&order_by=&search_key="+searchKey+"&current_page="+pageIndex;
	}
	function doJump(pageIndex){
		if(window.event.keyCode==13){
			doGo(pageIndex);
		}
	}
	function doDownload(){
		var searchKey=encodeURIComponent("");
		window.location="../business/BusinessBillListForClose.html?cost=NOT_ZERO&ts_id=1&status=&order_by=&search_key="+searchKey+"&content_type=EXCEL";
	}
	function DoubleClick(it){
		var ob_arr = document.getElementsByName("query_checkbox");
		var str="";
		if(ob_arr.length>=it.getAttribute("index")){
			str=ob_arr[it.getAttribute("index")-1].value;
		}
		if(str==""){
			return;
		}
		doShow(str);
	}
	function doCancel(){
		window.close();
	}
	function doInit(){
		//Window_Onload();
		document.getElementById("search_key").focus();
	}
	function checkSearchKey(){
		if(window.event.keyCode==13){
			doSearch();
		}
	}
	function showRelBill(code){
		showWin(1024,600,"../business/BusinessRelBillList.html?code="+encodeURIComponent(code));
	}
	function doPrint(id){
		showWin(900,600,"../business/BusinessBillPrint.html?id="+id+"&type=LITTLE");
	}
</script>
</head>
<body oncontextmenu="return false" onload="doInit();" class="sheet" style="text-align:center;">
<div class="sheet-main" style="width:980px;text-align:left;margin:auto;">
  <div class="sheet-top">
    <div class="content">
      <h2>业务单结清</h2>
      <p>已收完款的业务单才会出现在这里，结清后的业务单不再参与相关业务选择，也不可以做任何修改</p>
    </div>
  </div>
  <div class="sheet-list">
    <div class="search-business">
      <div class="content">
        <table width="868">
          <tbody>
            <tr>
              <td align="right">
              	<select name="ts_id" id="ts_id">
					<option value="0">==请选择账套==</option>
					
					<option value="1" selected="">新异</option>
					
					<option value="2">网络公司</option>
					
	  		  	</select>
              	<select id="cost" name="cost">
              		<option value="ALL">==金额==</option>
              		<option value="ZERO">金额为0</option>
              		<option value="NOT_ZERO" selected="">金额不为0</option>
              	</select>
              	<select id="status" name="status">
              		<option value="ALL">==完工送货状态==</option>
              		<option value="COMP_DELI">已完工已送完</option>
              		<option value="COMP_UN_DELI">已完工未送完</option>
              		<option value="COMP">已完工</option>
              	</select>
	            <input type="text" class="TextBox" id="search_key" name="search_key" onkeyup="checkSearchKey();" style="width:100px" value="" title="以客户名称、客户拼音字头、摘要、业务单号进行模糊查询">
	            <select id="order_by" name="order_by">
              		<option value="">==排序==</option>
              		<option value="RECE_DATE">最近回款日期</option>
              		<option value="ORDER_DATE">订货日期</option>
              	</select>
	            <input type="button" class="buttom search-but" value=" 查 询" onclick="doSearch();">
	            <input type="button" class="buttom search-out" value=" 导 出" onclick="doDownload();">
				<input type="button" class="buttom search-close" value=" 结 清" onclick="doMutiClose();" title="以客户名称、客户拼音字头、摘要、业务单号进行模糊查询">	              
			  </td>
            </tr>    
           </tbody>      
        </table>
      </div>
	  
<table width="98%" border="0" cellpadding="0" cellspacing="0">
	<tbody><tr id="errorMsgTr" style="display:none">
	  <td>
	  	<div class="msg-error" id="errorMsgTd">
	  	
	  	</div>
	  </td>
	</tr>
</tbody></table>
	  
	  
	  <div class="cue-info">
      	<span>金额合计：28997.00元</span>
	  </div>
	  
	  
	  <div class="table-list">
        <table width="100%">      
				<tbody><tr>
					<th width="14"><input type="checkbox" onclick="javascript:checkall(this);"></th>
					<th width="12%">单号</th>
					<th width="8%">订货日期</th>
					<th width="12%">订货单位</th>
					<th width="12%">摘要</th>
					<th width="8%">金额</th>
					<th width="8%">调账</th>
					<th width="8%">交货日期</th>
					<th width="9%">最近回款日期</th>
					<th width="10%">跟单员</th>
					<th width="6%">状态</th>
					<th width="9%">操作</th>
				</tr>
				
					
					
					<tr class="query_list_data_tr1" index="1" style="cursor:pointer;" ondblclick="javascript:DoubleClick(this)" onclick="javascript:ClickCheck(this,true)" onmouseout="javascript:mouseout(this)" onmouseover="javascript:mouseover(this)">
						<td><input type="checkbox" onclick="javascript:ClickCheck(this,true);" name="query_checkbox" value="3247"></td>
						<td>E(1)2017070009</td>
						<td>2017-07-03</td>
						<td>个人</td>
						<td>成品标牌   门市自提</td>
						<td>50.00</td>
						<td>0.00</td>
						<td>
							2017-07-03
						</td>
						<td>
							2017-07-03
						</td>
						<td>邵丽萍 1</td>
						<td>
							
							未完工
							<br>
							未送货
							
							
						</td>
						<td>
							<a href="javascript:doClose(&#39;3247&#39;);">结清</a>
							<a href="javascript:doShow(&#39;3247&#39;);">查看</a>
							<br>
							<a href="javascript:showRelBill(&#39;E(1)2017070009&#39;);">单据跟踪</a>
							<br>
							<a href="javascript:doPrint(&#39;3247&#39;);">打印小票</a>
						</td>
					</tr>
				
					
					
					<tr class="query_list_data_tr2" index="2" style="cursor:pointer;" ondblclick="javascript:DoubleClick(this)" onclick="javascript:ClickCheck(this,true)" onmouseout="javascript:mouseout(this)" onmouseover="javascript:mouseover(this)">
						<td><input type="checkbox" onclick="javascript:ClickCheck(this,true);" name="query_checkbox" value="3091"></td>
						<td>E(1)2017060061</td>
						<td>2017-06-09</td>
						<td>观悦装饰(任建坤)</td>
						<td>标牌 门店自提</td>
						<td>115.00</td>
						<td>0.00</td>
						<td>
							2017-06-10
						</td>
						<td>
							2017-06-30
						</td>
						<td>张永灿 1</td>
						<td>
							已完工
							
							<br>
							
							
							已送完
						</td>
						<td>
							<a href="javascript:doClose(&#39;3091&#39;);">结清</a>
							<a href="javascript:doShow(&#39;3091&#39;);">查看</a>
							<br>
							<a href="javascript:showRelBill(&#39;E(1)2017060061&#39;);">单据跟踪</a>
							<br>
							<a href="javascript:doPrint(&#39;3091&#39;);">打印小票</a>
						</td>
					</tr>
				
					
					
					<tr class="query_list_data_tr1" index="3" style="cursor:pointer;" ondblclick="javascript:DoubleClick(this)" onclick="javascript:ClickCheck(this,true)" onmouseout="javascript:mouseout(this)" onmouseover="javascript:mouseover(this)">
						<td><input type="checkbox" onclick="javascript:ClickCheck(this,true);" name="query_checkbox" value="3164"></td>
						<td>E(1)2017060134</td>
						<td>2017-06-19</td>
						<td>索凌电气有限公司(戴)</td>
						<td>喷绘  厂区自提</td>
						<td>460.00</td>
						<td>0.00</td>
						<td>
							2017-06-19
						</td>
						<td>
							2017-06-19
						</td>
						<td>伏龙 1</td>
						<td>
							
							未完工
							<br>
							未送货
							
							
						</td>
						<td>
							<a href="javascript:doClose(&#39;3164&#39;);">结清</a>
							<a href="javascript:doShow(&#39;3164&#39;);">查看</a>
							<br>
							<a href="javascript:showRelBill(&#39;E(1)2017060134&#39;);">单据跟踪</a>
							<br>
							<a href="javascript:doPrint(&#39;3164&#39;);">打印小票</a>
						</td>
					</tr>
				
					
					
					<tr class="query_list_data_tr2" index="4" style="cursor:pointer;" ondblclick="javascript:DoubleClick(this)" onclick="javascript:ClickCheck(this,true)" onmouseout="javascript:mouseout(this)" onmouseover="javascript:mouseover(this)">
						<td><input type="checkbox" onclick="javascript:ClickCheck(this,true);" name="query_checkbox" value="3121"></td>
						<td>E(1)2017060091</td>
						<td>2017-06-13</td>
						<td>运城及远字业(黄自胜)</td>
						<td>型材 长通物流发货 运城 不代收</td>
						<td>28.00</td>
						<td>0.00</td>
						<td>
							2017-06-13
						</td>
						<td>
							2017-06-13
						</td>
						<td>张永灿 1</td>
						<td>
							已完工
							
							<br>
							
							
							已送完
						</td>
						<td>
							<a href="javascript:doClose(&#39;3121&#39;);">结清</a>
							<a href="javascript:doShow(&#39;3121&#39;);">查看</a>
							<br>
							<a href="javascript:showRelBill(&#39;E(1)2017060091&#39;);">单据跟踪</a>
							<br>
							<a href="javascript:doPrint(&#39;3121&#39;);">打印小票</a>
						</td>
					</tr>
				
					
					
					<tr class="query_list_data_tr1" index="5" style="cursor:pointer;" ondblclick="javascript:DoubleClick(this)" onclick="javascript:ClickCheck(this,true)" onmouseout="javascript:mouseout(this)" onmouseover="javascript:mouseover(this)">
						<td><input type="checkbox" onclick="javascript:ClickCheck(this,true);" name="query_checkbox" value="2536"></td>
						<td>E(1)2017030236</td>
						<td>2017-03-31</td>
						<td>田川(刘涛)</td>
						<td>标牌配件  门市自提  含税</td>
						<td>310.00</td>
						<td>0.00</td>
						<td>
							2017-03-31
						</td>
						<td>
							2017-05-24
						</td>
						<td>邵丽萍 1</td>
						<td>
							已完工
							
							<br>
							未送货
							
							
						</td>
						<td>
							<a href="javascript:doClose(&#39;2536&#39;);">结清</a>
							<a href="javascript:doShow(&#39;2536&#39;);">查看</a>
							<br>
							<a href="javascript:showRelBill(&#39;E(1)2017030236&#39;);">单据跟踪</a>
							<br>
							<a href="javascript:doPrint(&#39;2536&#39;);">打印小票</a>
						</td>
					</tr>
				
					
					
					<tr class="query_list_data_tr2" index="6" style="cursor:pointer;" ondblclick="javascript:DoubleClick(this)" onclick="javascript:ClickCheck(this,true)" onmouseout="javascript:mouseout(this)" onmouseover="javascript:mouseover(this)">
						<td><input type="checkbox" onclick="javascript:ClickCheck(this,true);" name="query_checkbox" value="2965"></td>
						<td>E(1)2017050175</td>
						<td>2017-05-22</td>
						<td>新乡上品广告(席保兴)</td>
						<td>标牌   宇鑫物流发货（新乡）不代收</td>
						<td>41.00</td>
						<td>0.00</td>
						<td>
							2017-05-22
						</td>
						<td>
							2017-05-22
						</td>
						<td>张永灿 1</td>
						<td>
							
							未完工
							<br>
							
							
							已送完
						</td>
						<td>
							<a href="javascript:doClose(&#39;2965&#39;);">结清</a>
							<a href="javascript:doShow(&#39;2965&#39;);">查看</a>
							<br>
							<a href="javascript:showRelBill(&#39;E(1)2017050175&#39;);">单据跟踪</a>
							<br>
							<a href="javascript:doPrint(&#39;2965&#39;);">打印小票</a>
						</td>
					</tr>
				
					
					
					<tr class="query_list_data_tr1" index="7" style="cursor:pointer;" ondblclick="javascript:DoubleClick(this)" onclick="javascript:ClickCheck(this,true)" onmouseout="javascript:mouseout(this)" onmouseover="javascript:mouseover(this)">
						<td><input type="checkbox" onclick="javascript:ClickCheck(this,true);" name="query_checkbox" value="1098"></td>
						<td>E2016080059</td>
						<td>2016-08-10</td>
						<td>郑州丽光标识(魏亮)</td>
						<td>画框型材  门店自提</td>
						<td>56.00</td>
						<td>0.00</td>
						<td>
							2016-08-10
						</td>
						<td>
							2017-05-22
						</td>
						<td>伏龙 1</td>
						<td>
							已完工
							
							<br>
							
							
							已送完
						</td>
						<td>
							<a href="javascript:doClose(&#39;1098&#39;);">结清</a>
							<a href="javascript:doShow(&#39;1098&#39;);">查看</a>
							<br>
							<a href="javascript:showRelBill(&#39;E2016080059&#39;);">单据跟踪</a>
							<br>
							<a href="javascript:doPrint(&#39;1098&#39;);">打印小票</a>
						</td>
					</tr>
				
					
					
					<tr class="query_list_data_tr2" index="8" style="cursor:pointer;" ondblclick="javascript:DoubleClick(this)" onclick="javascript:ClickCheck(this,true)" onmouseout="javascript:mouseout(this)" onmouseover="javascript:mouseover(this)">
						<td><input type="checkbox" onclick="javascript:ClickCheck(this,true);" name="query_checkbox" value="2948"></td>
						<td>E(1)2017050158</td>
						<td>2017-05-18</td>
						<td>新乡上品广告(席保兴)</td>
						<td>标牌 宇鑫物流 新乡 不代收</td>
						<td>43.00</td>
						<td>0.00</td>
						<td>
							2017-05-18
						</td>
						<td>
							2017-05-18
						</td>
						<td>黄秀娟 1</td>
						<td>
							
							未完工
							<br>
							
							
							已送完
						</td>
						<td>
							<a href="javascript:doClose(&#39;2948&#39;);">结清</a>
							<a href="javascript:doShow(&#39;2948&#39;);">查看</a>
							<br>
							<a href="javascript:showRelBill(&#39;E(1)2017050158&#39;);">单据跟踪</a>
							<br>
							<a href="javascript:doPrint(&#39;2948&#39;);">打印小票</a>
						</td>
					</tr>
				
					
					
					<tr class="query_list_data_tr1" index="9" style="cursor:pointer;" ondblclick="javascript:DoubleClick(this)" onclick="javascript:ClickCheck(this,true)" onmouseout="javascript:mouseout(this)" onmouseover="javascript:mouseover(this)">
						<td><input type="checkbox" onclick="javascript:ClickCheck(this,true);" name="query_checkbox" value="2885"></td>
						<td>E(1)2017050095</td>
						<td>2017-05-11</td>
						<td>孟州延军广告(延军广告)</td>
						<td>型材销售  长通物流  孟州  不代收</td>
						<td>120.00</td>
						<td>0.00</td>
						<td>
							2017-05-11
						</td>
						<td>
							2017-05-11
						</td>
						<td>邵丽萍 1</td>
						<td>
							
							未完工
							<br>
							
							
							已送完
						</td>
						<td>
							<a href="javascript:doClose(&#39;2885&#39;);">结清</a>
							<a href="javascript:doShow(&#39;2885&#39;);">查看</a>
							<br>
							<a href="javascript:showRelBill(&#39;E(1)2017050095&#39;);">单据跟踪</a>
							<br>
							<a href="javascript:doPrint(&#39;2885&#39;);">打印小票</a>
						</td>
					</tr>
				
					
					
					<tr class="query_list_data_tr2" index="10" style="cursor:pointer;" ondblclick="javascript:DoubleClick(this)" onclick="javascript:ClickCheck(this,true)" onmouseout="javascript:mouseout(this)" onmouseover="javascript:mouseover(this)">
						<td><input type="checkbox" onclick="javascript:ClickCheck(this,true);" name="query_checkbox" value="2875"></td>
						<td>E(1)2017050085</td>
						<td>2017-05-10</td>
						<td>新乡大河广告(刘)</td>
						<td>标牌 长通物流发货  不代收</td>
						<td>90.00</td>
						<td>0.00</td>
						<td>
							2017-05-12
						</td>
						<td>
							2017-05-10
						</td>
						<td>张永灿 1</td>
						<td>
							
							未完工
							<br>
							
							
							已送完
						</td>
						<td>
							<a href="javascript:doClose(&#39;2875&#39;);">结清</a>
							<a href="javascript:doShow(&#39;2875&#39;);">查看</a>
							<br>
							<a href="javascript:showRelBill(&#39;E(1)2017050085&#39;);">单据跟踪</a>
							<br>
							<a href="javascript:doPrint(&#39;2875&#39;);">打印小票</a>
						</td>
					</tr>
				
			</tbody></table>
				
    <div class="table-bot">
    	
    	
    	 
    	  <img src="../images/but001.gif">
    	  <img src="../images/but002.gif">
    	    	
    	第 <input type="text" name="pageNumber" style="width:30px" value="1" onkeydown="javascript:doJump(this.value);" class="TextBox"> 页 
    	共5页
		
        <a style="cursor:pointer" onclick="javascript:doGo(&quot;2&quot;);"><img src="../images/but003.gif"></a>
        <a style="cursor:pointer" onclick="javascript:doGo(&quot;5&quot;);"><img src="../images/but004.gif"></a>
		
		
    </div>
      </div>     
    </div>
  </div>
</div>

</body></html>